package com.example.leetcode.math;

import com.example.leetcode.math.common.MathUtils;

class Solution8 {
    public int myAtoi(String s) {
        return MathUtils.myAtoi(s);
    }
}

public class leetcode8 {
    public static void main(String[] args) {
        Solution8 solution8 = new Solution8();
//        System.out.println(solution8.myAtoi("42"));
//        System.out.println(solution8.myAtoi("   -42"));
//        System.out.println(solution8.myAtoi("4193 with words"));
//        System.out.println(solution8.myAtoi("-91283472332"));
//        System.out.println(solution8.myAtoi(""));
        System.out.println(solution8.myAtoi("+1"));
    }
}
